package com.vast.system.entity;

/**
 * @author zhaohao
 * @date 2018年12月6日 
 * @Des: 实体操作返回对象, 多用添加,删除,等操作返回
 */
public class Entity {

	/**
	 * 数据id
	 */
	private long id;
	
	/**
	 * 操作提示,可为空
	 */
	private String text;
	
	public Entity(long id) {
		super();
		this.id = id;
		this.text = "";
	}

	public Entity(long id, String text) {
		super();
		this.id = id;
		this.text = text;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	
	
}
